<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0.1 Transitional//EN">
<html>
<head>
<meta charset="UTF-8">
<title>表格标签单元格合并   </title>
</head>
<body>
<!-- colspan 列合并  rowspan 行合并  3列3行 -->
	<center>
	<table border="1px" width="50%" height="100px">
		<tr>
			<!-- rowspan="2" 该单元格跨2行 -->
			<td align="center" rowspan="2">A1</td>
			<!-- colspan="2" 该单元格跨2列 -->
			<td colspan="2" align="center">B1</td>
		</tr>
		<tr>
			
			<td rowspan="2">B2</td>
			<td>C2</td>
		</tr>
		<tr>
			<td>A3</td>		
			<td>C3</td>
		</tr>
	</table>
	</center>	
	<hr/>
		<center>
	<table border="1px" width="50%" height="100px">
		<tr>
			<td align="center" >A1</td>
			<!-- colspan="2" 该单元格跨2行2列 -->
			<td colspan="2" rowspan="2" align="center">B1</td>
		</tr>
		<tr>			
			<td>A2</td>
		</tr>
		<tr>
			<td>A3</td>
			<td>B3</td>
			<td>C3</td>
		</tr>
	</table>
	</center>
</body>
</html>